package cn.topcodes.tcsf.admin.domain.form;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;
import org.hibernate.validator.constraints.NotBlank;

import javax.validation.constraints.Size;
import java.io.Serializable;

/**
 * @author Unicorn
 * @date 2017/4/19
 */
@Data
@ToString(callSuper = true)
@EqualsAndHashCode(callSuper = false)
public class BaseSettings implements Serializable {

    @NotBlank(message = "站点名称不能为空")
    @Size(max = 30,message = "站点名称最大为30个字符")
    private String siteName;

    @NotBlank(message = "版权信息不能为空")
    @Size(max = 100,message = "版权信息最大为100个字符")
    private String copyright;

}
